package com.droidblackbox.accident;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

import com.droidblackbox.R;

public class Accident extends TabActivity {

	private TabHost host = null;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.accident_tabhost);

		host = getTabHost();
		host.addTab(host.newTabSpec("tab1").setIndicator("Send")
				.setContent(new Intent(Accident.this, AccidentSendInfo.class)));
		host.addTab(host
				.newTabSpec("tab2")
				.setIndicator("Receive")
				.setContent(
						new Intent(Accident.this, AccidentReceiveInfo.class)));
	}
}
